Explicit parameters
- 2025-10-18
파라메터를 Map
등으로 넘기지 말고 각각을 분리하여 명시적으로 넘기기. 타이딩의 일종.
It’s common to see blocks of parameters passed in a map. This makes it hard to read and understand what data is required. It also opens up the horrific abuse of modifying the parameters for (implicit) use later. —Tidy first? A personal exercise in empirical software design
리팩토링 (책)에서 말하는 Introduce parameter object와 반대 방향.